#ifndef BATCHCHECKOUTREQUEST_H
#define BATCHCHECKOUTREQUEST_H

#include "BaseRequest.h"

struct BatchCheckOutPcuInfo
{
    QString locationNo;
    QString pcu;
    QString gear;
    QList<QString> ngCodeList;
};

class BatchCheckOutRequest : public BaseRequest
{
public:
    BatchCheckOutRequest();
   BatchCheckOutRequest(const QString& factoryNo,const QString& transId,const QString& eventTime,const QString& eventUser,const QString& machineNo,const QString& batch,const QList<BatchCheckOutPcuInfo>& pcuInfo);

    // BaseRequest interface
    QByteArray toJson() const override;
    QString getEndPoint() const override;

public:
    QString factoryNo;
    QString transId;
    QString eventTime;
    QString eventUser;
    QString machineNo;
    QString batch;
    QList<BatchCheckOutPcuInfo> pcuInfo;
};

#endif // BATCHCHECKOUTREQUEST_H
